package com.anyou.mall.use.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author: gaochaohao
 * @Description: 用户详情Vo
 * Date: 2022/3/28
 */
@Data
@ApiModel("用户详情Vo")
public class UserQueryVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户编号")
    private Long userId;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("手机号码")
    private String phoneNumber;

    @ApiModelProperty("账号状态（0=正常，1=禁止）")
    private String accountStatus;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:ss:mm",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("收货地址")
    private List<UserQueryAddressesVo> userAddresses;



}
